Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show currently active key in settings #542

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

msalihaltun
Copy link
Collaborator

@msalihaltun msalihaltun commented Jul 3, 2024

🚀 This description was created by Ellipsis for commit 2f4d811

Summary:

Added a new card to display the currently active API key in the Settings component.

Key points:

  • Added a new card to display the currently active API key in skyvern-frontend/src/routes/settings/Settings.tsx.
  • Imported envCredential from @/util/env to fetch the API key.
  • Used HiddenCopyableInput component to display the API key.
  • Updated the Settings component to include the new card for the API key.

Generated with ❤️ by ellipsis.dev

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to 2f4d811 in 34 seconds

More details
  • Looked at 35 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_EvI7Xxom8ggcWhm6


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

<CardDescription>Currently active API key</CardDescription>
</CardHeader>
<CardContent className="p-8">
<HiddenCopyableInput value={apiKey ?? "API key not found"} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Displaying sensitive information such as API keys in the UI can pose a security risk. Ensure that this feature includes adequate access controls and security measures to protect the API key from unauthorized access.

@msalihaltun msalihaltun merged commit 52a1328 into Skyvern-AI:main Jul 3, 2024
2 checks passed
@msalihaltun msalihaltun deleted the show-api-key-in-settings branch July 3, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant